package com.unicom.mec.project.remote;

import com.unicom.mec.project.common.ResultBean;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name= "deploy")
public interface DeployRemote {

    @DeleteMapping(value = "/deploy/forProject/{projectId}")
    @ResponseBody
    ResultBean deleteApplicationDeployByProjectId(@ApiParam(value = "主键") @PathVariable(value = "projectId") Long projectId);

}
